from django.conf.urls import url
from . import views

urlpatterns = [
    # wx-app api
    url(r"get_places/$", views.get_places, name="获取检测地点"),
    url(r"get_tasks_by_place/$", views.get_tasks_by_place, name="查询 检测 任务 根据 地点"),
    url(r"order_group_check/$", views.order_group_check, name="预约 检测任务"),
    url(r"query_order_history/$", views.query_order_history, name="查询 预约 记录"),
    # web api
    ## check_place
    url(r"addCheckPlace$", views.addCheckPlace, name="新增预约地点"),
    url(r"getCheckPlaceList$", views.getCheckPlaceList, name="根据条件查询检测点"),
    url(r"getCheckPlaceByUuid", views.getCheckPlaceByUuid, name="根据uuid查询预约点"),
    url(r"getcheckPlaceByPcrs", views.getcheckPlaceByPcrs, name="根据pccs，查询预约点"),
    url(r"updateCheckPlace", views.updateCheckPlace, name="更新预约点"),
    url(r"delCheckPlace", views.delCheckPlace, name="删除预约点"),
    ## group_check_task
    url(r"addGroupCheckTask", views.addGroupCheckTask, name="新增检测任务组"),
    url(r"getGroupCheckTaskList", views.getGroupCheckTaskList, name="查询检测任务组"),
    url(r"getGroupCheckTask", views.getGroupCheckTask, name="根据uuid查询检测任务组"),
    url(r"delGroupCheckTask", views.delGroupCheckTask, name="删除检测任务组"),
    url(r"updateGroupCheckTask", views.updateGroupCheckTask, name="更新检测任务组"),
]
